package Data;

import java.util.List;
import org.simpleframework.xml.Element;
import org.simpleframework.xml.ElementArray;
import org.simpleframework.xml.ElementList;
import org.simpleframework.xml.Namespace;
import org.simpleframework.xml.Root;

@Root
@Namespace(reference="http://thedealmap.com/api")
public class Deals {
    @Element(name="Message",required=false)
    private String messageField;
    @Element(name="TotalResults",required=false)
    private int totalResults;
    @ElementList(name="Results",required=false)
    private List<Deal> Matched;

    /**
     * @return the messageField
     */
    public String getMessageField() {
        return messageField;
    }

    /**
     * @param messageField the messageField to set
     */
    public void setMessageField(String messageField) {
        this.messageField = messageField;
    }

    /**
     * @return the totalResults
     */
    public int getTotalResults() {
        return totalResults;
    }

    /**
     * @param totalResults the totalResults to set
     */
    public void setTotalResults(int totalResults) {
        this.totalResults = totalResults;
    }

    /**
     * @return the Matched
     */
    public List<Deal> getMatched() {
        return Matched;
    }

    /**
     * @param Matched the Matched to set
     */
    public void setMatched(List<Deal> Matched) {
        this.Matched = Matched;
    }

}
